home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #4
/
Amiga Plus CD - 2000 - No. 4.iso
/
Tools
/
Treiber
/
Misc
/
Mroocheck
/
FreeWheel
/
Source
/
Cx.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-04-20
|
599b
|
22 lines
#include <libraries/commodities.h>
struct CxContext
{
void (*Dispose)(struct CxContext *cx);
BOOL (*Handle)(struct CxContext *cx,unsigned long signals);
void (*ShowCallback)(struct CxContext *cx);
void (*HideCallback)(struct CxContext *cx);
BOOL (*SetHotKey)(struct CxContext *cx,char *hotkey);
BOOL (*SetCustom)(struct CxContext *cx,void (*rout)(CxMsg *msg,CxObj *obj));
void *UserData;
struct MsgPort *Port;
void *Broker;
void *CustomObject;
void *HotKey;
unsigned long Signals;
};
struct CxContext *CxContext_Create(char *name,char *title,char *descr,void *userdata);